package com.cdd.index.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.cdd.index.vo.HeadNavVo;
import com.common.entity.HeadNav;
import com.common.untils.CommonResult;
import com.common.vo.PageVo;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzl
 * @since 2022-09-02
 */
public interface IHeadNavService extends IService<HeadNav> {

    CommonResult selectAll(Integer currentPage,Integer pageSize,HeadNav headNav);

    CommonResult headNavAdd(HeadNav ruleForm);

    CommonResult deleteHead(Integer headId);

    CommonResult update(HeadNav headNav);

    CommonResult updateStatus(Integer headId, String isDiable);

    CommonResult findAll();
}
